{extend name="layout" /}
{block name="title"}网站设置{/block}
{block name="content"}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body" pad15>
                    <div class="layui-tab layui-tab-card">
                        <ul class="layui-tab-title">
                            <li class="layui-this">网站设置</li>
                            <li>SEO设置</li>
                        </ul>
                        <div class="layui-tab-content layui-form">
                            <div class="layui-tab-item layui-show">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">网站名称</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="site_name" value="{$value.site_name}"
                                               class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">ICP备</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="icp" value="{$value.icp}" class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">公安网备</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="record" value="{$value.record|default=''}"
                                               class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">版权信息</label>
                                    <div class="layui-input-block">
                                        <textarea name="copyright" class="layui-textarea">{$value.copyright}</textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">统计代码</label>
                                    <div class="layui-input-block">
                                        <textarea name="analytics"
                                                  class="layui-textarea">{$value.analytics|default=''}</textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <input type="hidden" name="id" value="{$key}">
                                        <button class="layui-btn" lay-submit lay-filter="set_system">确认保存</button>
                                    </div>
                                </div>
                            </div>

                            <div class="layui-tab-item">
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">SEO标题</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="site_seo_title" value="{$value.site_seo_title}"
                                               placeholder="首页标题" class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">SEO关键字</label>
                                    <div class="layui-input-block">
                                            <textarea name="site_seo_keywords" class="layui-textarea"
                                                      style="height: 50px"
                                                      placeholder="多个关键词用英文状态 , 号分割">{$value.site_seo_keywords}
                                            </textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">SEO描述</label>
                                    <div class="layui-input-block">
                                            <textarea name="site_seo_description" class="layui-textarea"
                                                      style="height: 50px"
                                                      placeholder="META描述">{$value.site_seo_description}</textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <input type="hidden" name="id" value="{$key}">
                                        <button class="layui-btn" lay-submit lay-filter="set_system">确认保存</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="module"}'set'{/block}